/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "免费件出库",TableName = "Part_out_mfj_view")]
    public partial class Part_out_mfj_view:BaseEntity
    {
        /// <summary>
       ///
       /// </summary>
       [Key]
       [Display(Name ="TI_SCM_SAP_PARTOUT_ID")]
       [Column(TypeName="numeric")]
       [Required(AllowEmptyStrings=false)]
       public decimal TI_SCM_SAP_PARTOUT_ID { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PFLAG")]
       [MaxLength(2)]
       [Column(TypeName="nchar(2)")]
       public string PFLAG { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PREASON")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       public string PREASON { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OUTBOUND_QTY")]
       [MaxLength(13)]
       [Column(TypeName="nvarchar(13)")]
       public string OUTBOUND_QTY { get; set; }

       /// <summary>
       ///采购订单行项目号
       /// </summary>
       [Display(Name ="采购订单行项目号")]
       [MaxLength(5)]
       [Column(TypeName="nvarchar(5)")]
       [Editable(true)]
       public string po_line_no { get; set; }

       /// <summary>
       ///采购订单号
       /// </summary>
       [Display(Name ="采购订单号")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       [Editable(true)]
       public string po_no { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SHEET_NO")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       public string SHEET_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="FPLANT_NO")]
       [MaxLength(4)]
       [Column(TypeName="nvarchar(4)")]
       public string FPLANT_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="S_STORAGE_NO")]
       [MaxLength(4)]
       [Column(TypeName="nvarchar(4)")]
       public string S_STORAGE_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="D_STORAGE_NO")]
       [MaxLength(4)]
       [Column(TypeName="nvarchar(4)")]
       public string D_STORAGE_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="SUPPL_NO")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       public string SUPPL_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PART_NO")]
       [MaxLength(18)]
       [Column(TypeName="nvarchar(18)")]
       public string PART_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="OUTBOUND_TIME")]
       [MaxLength(12)]
       [Column(TypeName="nvarchar(12)")]
       public string OUTBOUND_TIME { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PART_STORAGE_ATTR")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       public string PART_STORAGE_ATTR { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PART_STORAGE_TYPE")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       public string PART_STORAGE_TYPE { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="ZSCT_NO")]
       [MaxLength(30)]
       [Column(TypeName="nvarchar(30)")]
       public string ZSCT_NO { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="PSTYP")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       public string PSTYP { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="MTYP")]
       [MaxLength(10)]
       [Column(TypeName="nvarchar(10)")]
       public string MTYP { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="create_date")]
       [MaxLength(14)]
       [Column(TypeName="nchar(14)")]
       public string create_date { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="create_by")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       public string create_by { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="update_date")]
       [MaxLength(14)]
       [Column(TypeName="nchar(14)")]
       public string update_date { get; set; }

       /// <summary>
       ///
       /// </summary>
       [Display(Name ="update_by")]
       [MaxLength(20)]
       [Column(TypeName="nvarchar(20)")]
       public string update_by { get; set; }

       
    }
}